package com.dbf.site.client.user.view;

import com.dbf.site.client.user.model.UserModel;
import com.google.gwt.user.client.ui.IsWidget;

/**
 * Created by hoss on 01.08.14.
 */
public interface IUserProfileView
    extends IsWidget {

  public void clear();

  public void showUser(UserModel user,
                       boolean create);

  public interface IUserProfilePresenter {

    public void doCancel();

    public void doCreateUser(UserModel user);
    public void doUpdateUser(UserModel user);


  }
}
